home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / dev / c / vbcc.lha / vbcc / targets / ppc-warpos / include / inline / amigamesa_protos.h next >
C/C++ Source or Header  |  2001-04-28  |  3KB  |  28 lines

  1. struct amigamesa_context __saveds *__AmigaMesaCreateContext(struct TagItem *tagList ) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-34(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  2. #define AmigaMesaCreateContext(x1) __AmigaMesaCreateContext((x1))
  3.  
  4. void __saveds __AmigaMesaDestroyContext(struct amigamesa_context *c ) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-40(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  5. #define AmigaMesaDestroyContext(x1) __AmigaMesaDestroyContext((x1))
  6.  
  7. struct amigamesa_visual __saveds *__AmigaMesaCreateVisual(struct TagItem *tagList) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-46(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  8. #define AmigaMesaCreateVisual(x1) __AmigaMesaCreateVisual((x1))
  9.  
  10. void __saveds __AmigaMesaDestroyVisual(struct amigamesa_visual *v ) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-52(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  11. #define AmigaMesaDestroyVisual(x1) __AmigaMesaDestroyVisual((x1))
  12.  
  13. void __saveds __AmigaMesaMakeCurrent(struct amigamesa_context *c ,struct amigamesa_buffer *b) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-58(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  14. #define AmigaMesaMakeCurrent(x1,x2) __AmigaMesaMakeCurrent((x1),(x2))
  15.  
  16. void __saveds __AmigaMesaSwapBuffers(struct amigamesa_context *amesa) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-64(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  17. #define AmigaMesaSwapBuffers(x1) __AmigaMesaSwapBuffers((x1))
  18.  
  19. void __saveds __AmigaMesaSetOneColor(struct amigamesa_context *c,int index,float r,float g,float b) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-70(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  20. #define AmigaMesaSetOneColor(x1,x2,x3,x4,x5) __AmigaMesaSetOneColor((x1),(x2),(x3),(x4),(x5))
  21.  
  22. void __saveds __AmigaMesaSetRast(struct amigamesa_context *c, struct TagItem *tagList ) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-76(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  23. #define AmigaMesaSetRast(x1,x2) __AmigaMesaSetRast((x1),(x2))
  24.  
  25. void __saveds __AmigaMesaGetConfig(struct amigamesa_visual *v, GLenum pname, GLint* params ) = "\tstw\tr2,20(r1)\n\t.extern\t_glppcBase\n\tlwz\tr2,_glppcBase(r2)\n\tlwz\tr0,-82(r2)\n\tmtlr\tr0\n\tblrl\n\tlwz\tr2,20(r1)";
  26. #define AmigaMesaGetConfig(x1,x2,x3) __AmigaMesaGetConfig((x1),(x2),(x3))
  27.  
  28.